/*
 * @Descripttion: 
 * @version: 1.0
 * @Author: LiYansheng
 * @Date: 2022-05-03 15:25:53
 * @LastEditors: CoderXZ
 * @LastEditTime: 2022-05-03 16:11:15
 */
import request from '@/utils/request'

export function login(form){
    return request({
        url:'/emSystem/login',
        method:'post',
        data:{
            account:form.account,
            password:form.password,
            roleId:form.roleId
        }
    })
}

// 获取登录的用户信息
export function getInfo() {
    return request({
        url: '/emSystem/info',
        method: 'get',
    })
}
